Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities


Calculating Distances Between Points

QuickDraw 3D provides routines that you can use to determine the distance between two points. QuickDraw 3D also provides routines that you can use to determine the square of the distance between two points. These distance-squared routines are much faster than the simple distance routines and are therefore recommended for situations in which only relative distances are important to you.


Subtopics
Q3Point2D_Distance
Q3Param2D_Distance
Q3Point3D_Distance
Q3RationalPoint3D_Distance
Q3RationalPoint4D_Distance
Q3Point2D_DistanceSquared
Q3Param2D_DistanceSquared
Q3Point3D_DistanceSquared
Q3RationalPoint3D_DistanceSquared
Q3RationalPoint4D_DistanceSquared

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996